package cn.cai.service;

import cn.cai.pojo.EduCourse;
import cn.cai.pojo.vo.ChapterVo;
import cn.cai.pojo.vo.CourseInfoVo;
import cn.cai.pojo.vo.CoursePublicVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author caishenao
 * @since 2021-08-17
 */
public interface IEduCourseService extends IService<EduCourse> {

    String saveCourseInfo(CourseInfoVo courseInfoVo);

    //根据courseId查询课程基本信息
    CourseInfoVo findCourseInfoById(String courseId);

    void updateCourseInfo(CourseInfoVo courseInfoVo);

    CoursePublicVo getPublishCourseInfo(String courseId);
}
